Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename SwitchEntity to SwitchDevice #1

Closed
wants to merge 1 commit into from
Closed

rename SwitchEntity to SwitchDevice #1

wants to merge 1 commit into from

Conversation

tadeusz-niemiec
Copy link

@tadeusz-niemiec tadeusz-niemiec commented Aug 21, 2020

Some time ago few main components in the Home Assistant were renamed, one of them was the SwitchEntity. This causes an import error since SwitchEntity cannot be found anymore. I was manually changing this in your library after every patch, but I guess it would be nice to have a permanent fix there ;)

@tadeusz-niemiec
Copy link
Author

tadeusz-niemiec commented Aug 21, 2020

Alright, I've done some investigation and it actually looks like the SwitchEntity is the newer name, something wrong must happened with my updates, since my core component still contains only SwitchDevice :|

rospogrigio pushed a commit that referenced this pull request Jan 3, 2022
i-am-shodan pushed a commit to i-am-shodan/localtuya that referenced this pull request Aug 18, 2022
Correct mistakes based on fan.py contents
jbornema pushed a commit to jbornema/localtuya that referenced this pull request Nov 2, 2022
SheaSmith referenced this pull request in SheaSmith/localtuya Dec 28, 2022
Update gateway connection to connect at load time instead of waiting for a call to async_connect
SheaSmith referenced this pull request in SheaSmith/localtuya Dec 28, 2022
rospogrigio pushed a commit that referenced this pull request May 24, 2023
…t_registry

Fix depreciated async_get_registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant